﻿using System;
using System.Collections.Generic;

namespace ChessKit.Common
{
  public static class EnumerableExtensions
  {
    public static void ForEach<T>(this IEnumerable<T> list, Action<T> actor)
    {
      foreach (var item in list)
      {
        actor(item);
      }
    }
  }
}